VERSION 5.00
Object = "{F0D2F211-CCB0-11D0-A316-00AA00688B10}#1.0#0"; "MSDATLST.OCX"
Begin VB.Form frmAgregarAlApLanilla 
   BorderStyle     =   5  'Sizable ToolWindow
   ClientHeight    =   1935
   ClientLeft      =   45
   ClientTop       =   285
   ClientWidth     =   5250
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Moveable        =   0   'False
   ScaleHeight     =   1935
   ScaleWidth      =   5250
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton Command1 
      Caption         =   "Ok"
      Height          =   252
      Left            =   4200
      TabIndex        =   2
      Top             =   720
      Width           =   372
   End
   Begin MSDataListLib.DataCombo cboEmpleado 
      Bindings        =   "frmAgregarAlApLanilla.frx":0000
      Height          =   288
      Left            =   240
      TabIndex        =   0
      Top             =   720
      Width           =   3732
      _ExtentX        =   6588
      _ExtentY        =   556
      _Version        =   393216
      ListField       =   "nombres"
      BoundColumn     =   "codigo_empleado"
      Text            =   "DataCombo2"
      Object.DataMember      =   "Nombres_EmpleadosN"
   End
   Begin VB.Label Label2 
      BackColor       =   &H00800000&
      BackStyle       =   0  'Transparent
      Caption         =   "Empleado a Agregar a la Planilla"
      ForeColor       =   &H00000080&
      Height          =   252
      Left            =   240
      TabIndex        =   1
      Top             =   480
      Width           =   2532
   End
End
Attribute VB_Name = "frmAgregarAlApLanilla"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

        MsgBox "Si el Empleado adicionado no es de este tipo de planilla, NO SERA ANEXADO"
        
        If DE.rsPrepararPlanillaAd_SolounEmpleado.State = adStateOpen Then DE.rsPrepararPlanillaAd_SolounEmpleado.Close
        DE.PrepararPlanillaAd_SolounEmpleado FechaPublica, MiTipoPlanillaPublica, Quincena, cboEmpleado.BoundText
        
'        ' recalculo los datos
'        If DE.rsRecalcuPlaniAdminiSolo1.State = adStateOpen Then DE.rsRecalcuPlaniAdminiSolo1.Close
'        DE.RecalcuPlaniAdminiSolo1 MiTipoPlanillaPublica, FechaPublica, Quincena, cboEmpleado.BoundText
        Unload Me
        
End Sub

Private Sub Form_Load()
    Left = Screen.Width / 2 - Width / 2
    Top = (Screen.Height / 2 - Height / 2) - 800
    Me.Picture = LoadResPicture(104, 0)
End Sub
